package tk.mybatis.springboot.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import tk.mybatis.springboot.model.Usermessage;
import tk.mybatis.springboot.model.UserMessageExtend;
import tk.mybatis.springboot.share.MyMapper;

public interface UserMessageMapper extends MyMapper<Usermessage>{
	public List<UserMessageExtend> getSystemMessage();
	
	public List<UserMessageExtend> getUserMessage(@Param("userId")String userId);
	
	public List<UserMessageExtend> getUserMessageInfo(@Param("userId")String userId, @Param("countermanId")String countermanId);
}
